const md5 = require('js-md5');

function calcMD5Hash (message) {
    let hash = md5.create();
    hash.update(message);
    return hash.hex();
}

module.exports = {
    calcMD5Hash
};
